<?php

$this->pageTitle=Yii::app()->name . ' - Aulas';

$this->breadcrumbs=array(
	'Turmas'=>	array('/turma/admin'),
	 $turma->nome => array('/turma/view', 'id'=>$turma->id),	
	'Aulas',
);

$this->menu=array(
);

?>

<h3>Aulas da Turma: <?php echo $turma->nome;?></h3><br/><br/>

<?php 
$this->widget('bootstrap.widgets.TbGridView',array(
	'id'=>'aula-grid',
	'dataProvider'=>$model->search($turma->id),
	'columns'=>array(
		'numero',
		'local',
		'horario',
		'data',
		array(
			'class'=>'bootstrap.widgets.TbButtonColumn',
			'template' => '{view}{update}{delete}',
		),
		
	), 'emptyText' => 'Nenhuma Aula cadastrada',
		'summaryText' => 'Mostrando {start}-{end} de {count} registro(s).',
)); 
?>
